<?php
$v_recordtype_id = Get_text_from_array($_SESSION['recordtype'],'PK_RECORDTYPE','PK_RECORDTYPE','PK_RECORDTYPE',$v_recordtype_filter);
$v_recordtype_order =0;
if(isset($_REQUEST['hdn_max_order'])){	
	$v_recordtype_order = intval($_REQUEST['hdn_max_order'])+1;
}
if(_is_sqlserver()){
	$sql = "Exec ONEGATE_RecordtypeGetSingle  ";
	$sql = $sql ."'". $v_recordtype_id . "'" ;
	$ado_conn->SetFetchMode(ADODB_FETCH_ASSOC);
	$arr_single_recordtype = $ado_conn->GetRow($sql);
}?>